import {NgModule} from '@angular/core';
import {SharedModule} from '@shared/shared.module';
import {RoleRoutingModule} from './role-routing.module';
import {ListComponent} from './list/list.component';
import {ShowComponent} from './show/show.component';
import {NzTransferComponent, NzTransferModule} from 'ng-zorro-antd';
import {RoleService} from './role.service';
import {ResourceService} from '../resource/resource.service';

const COMPONENT_NOROUNT = [];

@NgModule({
    imports: [
        SharedModule,
        RoleRoutingModule,
        NzTransferModule,
    ],
    declarations: [
        ...COMPONENT_NOROUNT,
        ListComponent,
        ShowComponent,
    ],
    providers: [
        RoleService,
        ResourceService
    ],
    entryComponents: COMPONENT_NOROUNT
})
export class RoleModule {
}
